﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PropertyTypeSelector.ascx.cs" Inherits="whatpricemyhouse.Controller.PropertyTypeSelector" %>
<asp:DropDownList ID="propertyTypeDropList" runat="server" 
    DataSourceID="SqlDataSource1" DataTextField="PTName" DataValueField="PTID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:WhatPriceMyHouseConnectionString %>" 
    SelectCommand="SELECT * FROM [property_type_table] ORDER BY [PTName]">
</asp:SqlDataSource>

